package com.saltlux.tdd.algorithm;

import java.util.Comparator;

public class StringLengthComparator implements Comparator<String> {

	@Override
	public int compare(String from, String to) {
		return from.length() - to.length();
	}

}
